using System;

namespace BaddiesEditor
{
#if WINDOWS || XBOX
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            // Create and initialize game and form.
            EditorForm form = new EditorForm();
            form.Show();
            EditorGame game = new EditorGame(form.getDrawSurface());

            // Link game and form. Coupling for efficiency.
            form.Game = game;
            game.Form = form;

            // Start xna game
            game.Run(); 
        }
    }
#endif
}

